<form class="layui-form layui-form-pane edit-form">
    <div class="layui-form-item">
        <label class="layui-form-label">
            名称
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="name" type="text" value="{$data['name']}" readonly="" />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            现在价格
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="price" type="text" value="{$data['price']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            原价
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="old_price" type="text" value="{$data['old_price']}"/>
        </div>
    </div>
   
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="editform" lay-submit="">
                保存
            </button>
            <button class="layui-btn layui-btn-primary layui-btn-cancel" type="button">
                取消
            </button>
        </div>
    </div>
</form>
